home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13575 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.1 KB  |  50 lines

  1. Path: madison.tdsnet.com!news
  2. From: Mike Wilson <mwilson@ccm.tdsnet.com>
  3. Newsgroups: comp.lang.c,comp.lang.pascal.misc,hku.cs.open-forum
  4. Subject: Re: C vs Pascal
  5. Date: Mon, 08 Apr 1996 21:37:35 -0700
  6. Organization: TDS Telecom - Madison, WI
  7. Message-ID: <3169E98F.490E@ccm.tdsnet.com>
  8. References: <4k8vro$sp4@ns.cs.hku.hk> <DpIwK2.3uJ.0.-s@hkusuc.hku.hk>
  9. NNTP-Posting-Host: aumi0-a09.ccm.tds.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Lee Chun Kwok º⌡«m░Ω wrote:
  16. > awong@csd.hku.hk (Beyond) wrote:
  17. > >I am a student from other faculty taken one of your course in CS department. When I went thro' the past paper, I came across a headache. 
  18. The question is "C is
  19. > >Oh, I am not familiar with C, as well as Pascal. Also, I don't understand the meaning of "structured". How can I answer the question. 
  20. So, any computer expert
  21. > >Thanks in advance.
  22. > Well, the first thing is that the newsgroup hku.cc.forum is not the place
  23. > to ask this question, so I crosspost this article to the appropriate
  24. > newsgroups.
  25. > This article may start a war on those newsgroup (:)). But personally I
  26. > think the statement is not true. Both languages are structural
  27. > languages, but it seems that Pascal is more structured than C, rather.
  28. > C's strenth relies on its low-level capabilities. For example, you can
  29. > handle pointers with ease and do pointer arithmetics. You can treat an
  30. > array using pointers. With pascal, you can hardly do this. But with
  31. > pascal, you can have procedures inside procedures (<=is this standard
  32. > pascal? I'm using Borland), and other things like that. You don't have
  33. > "break", "continue" in standard Pascal.
  34. > Correct me if anything is wrong.
  35. > Regards.
  36. > --
  37. > ///////////////////////////////
  38. > "--   | /   |     "--   "--     Lee Chun Kwok           Hong Kong
  39. > |     |=  |     |--   |--     ---------------------------------
  40. > \__   | \   \__   \__   \__     mailto:h9504367@hkueee.hku.hk
  41. > /////////////////////////////// http://www.eee.hku.hk/~h9504367When DOS was king, C was the best way to go. Now in windows, Delphi is 
  42. the superior compiler.
  43.